package com.frank.subject.domain.convert;

import com.frank.subject.domain.entity.SubjectLabelBo;
import com.frank.subject.infra.basic.entity.SubjectLabel;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 题目分类转换BO
 * @author Climb Zou
 * @version v0.0.1
 * @date 2024/1/19 17:22
 */
@Mapper
public interface SubjectLabelBoConverter {

    SubjectLabelBoConverter INSTANCE = Mappers.getMapper(SubjectLabelBoConverter.class);

    SubjectLabel convertBoToLabel(SubjectLabelBo subjectLabelBO);


    List<SubjectLabelBo> convertLabelListToBOList(List<SubjectLabel> subjectLabels);
}
